package com.wf.day_0615.decorators;

import javax.annotation.Resource;

/**
 * @author mpk
 * @since 2024/6/15 14:57:04
 */
public abstract class Decorator extends FastFood{



    private FastFood fastFood;


    public Decorator(FastFood fastFood, String desc, float price) {

        super(desc, price);
        this.fastFood = fastFood;

    }

    public FastFood getFastFood() {
        return fastFood;
    }

    public void setFastFood(FastFood fastFood) {
        this.fastFood = fastFood;
    }
}
